package Paquete_auxiliar;

public class MyRandom {
    
    public static Boolean boolRandom(){
        double aux = Math.random();
        if(aux>0.5) return true;
        else return false;
    }
       
    public static int intRandom(int longitud){
        double aux = Math.random() * longitud;
        long valor = Math.round(aux);
        return (int) valor;
    } 
}
